file(GLOB BASE_SRC "*.cpp")
file(GLOB BASE_HEADERS "*.hpp", "*.h")

if(WIN32)
    add_library(base STATIC ${BASE_SRC} ${BASE_HEADERS})
    target_link_libraries(base external)
 else(WIN32)
    add_library(base STATIC ${BASE_SRC} ${BASE_HEADERS})
    target_link_libraries(base external)
endif(WIN32)